package com.tongji.showroom.events
{
	import flash.events.Event;
	
	/**
	 * 
	 * @author jiarong
	 * 2011-11-1
	 *
	 */
	
	public class DeleteProductEvent extends Event
	{
		public static const DELETE_PRODUCT:String = "deleteProduct";
		
		public var Id:Number;
		public var boolean:Boolean;
		
		/**
		 * 
		 * @param type
		 * DELETE_PRODUCT:删除产品
		 * @param Id
		 * Id：用户Id
		 * @param boolean
		 * boolean：Boolean类型值
		 * 
		 */		
		public function DeleteProductEvent(type:String, Id:Number = 0, boolean:Boolean = false)
		{
			super(type);
			
			this.Id = Id;
			this.boolean = boolean;
		}
		
		override public function clone():Event
		{
			return new DeleteProductEvent(type, Id, boolean);
		}
	}
}